package com.hyperfix.washer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author JiangChunYu
 * 2024/3/17
 */
@EnableFeignClients(basePackages = "com.hyperfix.feign.clients")
@EnableAsync
@EnableTransactionManagement
@EnableDiscoveryClient
@MapperScan("com.hyperfix.washer.mapper")
@SpringBootApplication
public class WasherApplication {
    public static void main(String[] args) {
        SpringApplication.run(WasherApplication.class, args);
    }
}
